﻿@model ClassLibrary1.Clothes
@{
    ViewBag.Title = "Details";
}
<link href="../../Css/StyleSheet1.css" rel="stylesheet" type="text/css" />
<h2>
    Details</h2>
<fieldset>
    <legend>Clothes</legend>
    <div class="display-label">
        ProductCode</div>
    <div class="display-field">@Model.ProductCode</div>
    <div class="display-label">
        Img</div>
    <span class="detail">
        <img src=@ClassLibrary1.common.getPhoto(Model.ProductCode) /></span>
    <div class="display-label">
        ImgDirection</div>
    @{
        List<string> ls = ClassLibrary1.common.GetPhotoPathDirectionByProductCode(Model.ProductCode);


        foreach (string item in ls)
        {
        <span class="detail">
            <img src=@ClassLibrary1.common.getPhotoPath5(Model.ProductCode, item) /></span>
        }
    }
    <div class="display-label">
        Materail</div>
    <div class="display-field">@Model.Materail</div>
    <div class="display-label">
        Color</div>
    <div class="display-field">@Model.Color</div>
    <div class="display-label">
        Size</div>
    <div class="display-field">@Model.Size</div>
    <div class="display-label">
        Sex</div>
    <div class="display-field">@Model.Sex</div>
    <div class="display-label">
        Tech</div>
    <div class="display-field">@Model.Tech</div>
    <div class="display-label">
        Style</div>
    <div class="display-field">@Model.Style</div>
    <div class="display-label">
        Spec</div>
    <div class="display-field">@Model.Spec</div>
    <div class="display-label">
        ForOrder</div>
    <div class="display-field">@Model.ForOrder</div>
    <div class="display-label">
        Storage</div>
    <div class="display-field">@Model.Storage</div>
    <div class="display-label">
        XPrice</div>
    <div class="display-field">@String.Format("{0:F}", Model.XPrice)</div>
    <div class="display-label">
        BarCode</div>
    <div class="display-field">@Model.BarCode</div>
    <div class="display-label">
        PurchaseNum</div>
    <div class="display-field">@Model.PurchaseNum</div>
    <div class="display-label">
        PurchaseTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.PurchaseTime)</div>
    <div class="display-label">
        StatusID</div>
    <div class="display-field">@Model.StatusID</div>
    <div class="display-label">
        IsOff</div>
    <div class="display-field">@Model.IsOff</div>
    <div class="display-label">
        IsShow</div>
    <div class="display-field">@Model.IsShow</div>
    <div class="display-label">
        OnlineTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.OnlineTime)</div>
    <div class="display-label">
        sprice</div>
    <div class="display-field">@String.Format("{0:F}", Model.sprice)</div>
    <div class="display-label">
        ClothesName</div>
    <div class="display-field">@Model.ClothesName</div>
    <div class="display-label">
        CategoryCode</div>
    <div class="display-field">@Model.CategoryCode</div>
    <div class="display-label">
        SinglePackageWeight</div>
    <div class="display-field">@String.Format("{0:F}", Model.SinglePackageWeight)</div>
    <div class="display-label">
        SinglePackageLength</div>
    <div class="display-field">@String.Format("{0:F}", Model.SinglePackageLength)</div>
    <div class="display-label">
        SinglePackageWidth</div>
    <div class="display-field">@String.Format("{0:F}", Model.SinglePackageWidth)</div>
    <div class="display-label">
        SinglePackageHeight</div>
    <div class="display-field">@String.Format("{0:F}", Model.SinglePackageHeight)</div>
    <div class="display-label">
        EncasementWeight</div>
    <div class="display-field">@String.Format("{0:F}", Model.EncasementWeight)</div>
    <div class="display-label">
        EncasementAmount</div>
    <div class="display-field">@Model.EncasementAmount</div>
    <div class="display-label">
        EncasementLength</div>
    <div class="display-field">@String.Format("{0:F}", Model.EncasementLength)</div>
    <div class="display-label">
        EncasementWidth</div>
    <div class="display-field">@String.Format("{0:F}", Model.EncasementWidth)</div>
    <div class="display-label">
        EncasementHeight</div>
    <div class="display-field">@String.Format("{0:F}", Model.EncasementHeight)</div>
    <div class="display-label">
        TemperatureBottom</div>
    <div class="display-field">@String.Format("{0:F}", Model.TemperatureBottom)</div>
    <div class="display-label">
        TemperatureTop</div>
    <div class="display-field">@String.Format("{0:F}", Model.TemperatureTop)</div>
    <div class="display-label">
        HumidityBottom</div>
    <div class="display-field">@String.Format("{0:F}", Model.HumidityBottom)</div>
    <div class="display-label">
        HumidityTop</div>
    <div class="display-field">@String.Format("{0:F}", Model.HumidityTop)</div>
    <div class="display-label">
        PackageComments</div>
    <div class="display-field">@Model.PackageComments</div>
    <div class="display-label">
        redundancy1</div>
    <div class="display-field">@Model.redundancy1</div>
    <div class="display-label">
        redundancy2</div>
    <div class="display-field">@Model.redundancy2</div>
    <div class="display-label">
        redundancy3</div>
    <div class="display-field">@String.Format("{0:F}", Model.redundancy3)</div>
    <div class="display-label">
        redundancy4</div>
    <div class="display-field">@String.Format("{0:F}", Model.redundancy4)</div>
    <div class="display-label">
        redundancy5</div>
    <div class="display-field">@Model.redundancy5</div>
    <div class="display-label">
        redundancy6</div>
    <div class="display-field">@Model.redundancy6</div>
    <div class="display-label">
        Recorder</div>
    <div class="display-field">@Model.Recorder</div>
    <div class="display-label">
        RecordTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.RecordTime)</div>
    <div class="display-label">
        productserialcode</div>
    <div class="display-field">@Model.productserialcode</div>
    <div class="display-label">
        LatestIsOnTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.LatestIsOnTime)</div>
    <div class="display-label">
        LatestIsOffTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.LatestIsOffTime)</div>
    <div class="display-label">
        WarehouseType</div>
    <div class="display-field">@Model.WarehouseType</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.ClothesCode }) |
    @Html.ActionLink("Back to List", "Index")
</p>
